package com.battle.service.mvc;

import lombok.Data;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2024/9/6 16:13
 */
@Data
@Configuration
public class HttpUrlConfig implements InitializingBean {

    /**
     * 消防智能接处警
     */
    @Value("${out.httpUrl}")
    private String httpUrl;

    @Override
    public void afterPropertiesSet() {
       HttpUrl=httpUrl;
    }

    public static String HttpUrl;
}
